
#include"socket.h"

int main()
{
    setlocale(0, "Rus");

    struct sockaddr srvr_name;

    /*int sock = socket(AF_UNIX, SOCK_DGRAM, 0);
    if (sock < 0)
    {
        printf("\nBullshit, not socket\n");
        abort();
    }
    srvr_name.sa_family = AF_UNIX;
    strcpy(srvr_name.sa_data, "socket.soc");
    if(bind(sock, &srvr_name, strlen(srvr_name.sa_data) + sizeof(srvr_name.sa_family)) < 0)
    {
        printf("\nERROR: Bind failed\n");
        return EXIT_FAILURE;
    }
    */
    //close(sock);
    unlink("socket.soc");
    return 0;

}
